package com.sky.mapper;

import com.sky.entity.OrderDetail;
import com.sky.entity.Orders;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserOrderMapper {

    /**
     * 提交保存订单
     * @param orders
     */
    void submitOrder(Orders orders);

    /**
     * 保存订单详情
     * @param orderDetail
     */
    void saveOrderDetail(OrderDetail orderDetail);
}
